package com.bean;

import java.sql.Timestamp;


/**
 * UserAccountRecord entity. @author MyEclipse Persistence Tools
 */

public class UserAccountRecord  implements java.io.Serializable {


    // Fields    

     /** serialVersionUID*/
	private static final long serialVersionUID = 2905449318932409610L;
	private Long id;
     private Userinfo userinfo;
     private Double amount;
     private Timestamp createTime;
     private Short type;
     private Short tradeType;
     private Short status;


    // Constructors

    /** default constructor */
    public UserAccountRecord() {
    }

	/** minimal constructor */
    public UserAccountRecord(Double amount, Timestamp createTime, Short type, Short tradeType, Short status) {
        this.amount = amount;
        this.createTime = createTime;
        this.type = type;
        this.tradeType = tradeType;
        this.status = status;
    }
    
    /** full constructor */
    public UserAccountRecord(Userinfo userinfo, Double amount, Timestamp createTime, Short type, Short tradeType, Short status) {
        this.userinfo = userinfo;
        this.amount = amount;
        this.createTime = createTime;
        this.type = type;
        this.tradeType = tradeType;
        this.status = status;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public Userinfo getUserinfo() {
        return this.userinfo;
    }
    
    public void setUserinfo(Userinfo userinfo) {
        this.userinfo = userinfo;
    }

    public Double getAmount() {
        return this.amount;
    }
    
    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Short getType() {
        return this.type;
    }
    
    public void setType(Short type) {
        this.type = type;
    }

    public Short getTradeType() {
        return this.tradeType;
    }
    
    public void setTradeType(Short tradeType) {
        this.tradeType = tradeType;
    }

    public Short getStatus() {
        return this.status;
    }
    
    public void setStatus(Short status) {
        this.status = status;
    }
   








}